﻿<%@ Page Title="" Language="C#" MasterPageFile="~/UI/Admin/Admin_Statistics.master"
    AutoEventWireup="true" CodeBehind="Chart_Visits.aspx.cs" Inherits="WebApplication13.WebForm3" %>

<asp:Content ID="Content5" ContentPlaceHolderID="ContentPlaceHolder3" runat="server">
    <script src="../../Scripts/Admin/jquery-1.6.4.js" type="text/javascript"></script>
    <script src="../../Scripts/Admin/highcharts.js" type="text/javascript"></script>
    <script src="../../Scripts/Admin/gray.js" type="text/javascript"></script>
    <script src="../../Scripts/Admin/ColumnChart.js" type="text/javascript"></script>
    <div id="visitchart" style="position: absolute; left: 350px; top: 50px; width: 700px;
        height: 500px">
        <script type="text/javascript">
            var render = 'visitchart';
            var title = 'This Mounth Visit';
            var category = [<% 
            for(int j=1;j<=31;j++)
             Response.Write(j+",");            
             %> ];
            var data = [<% 
            for (int i = 0; i < 30; i++)
            {
                Response.Write(a[i] + ",");
            }
            Response.Write(a[30]); %>];
            $(document).ready(
   drawColumnCharts(render, title, category, data)
 );
        </script>
    </div>
</asp:Content>
